﻿using Domain.Base;
using DtoFw.Enum;
using SqlSugar;
using System;
using System.Collections.Generic;
using System.Text;

namespace Domain.Entity
{
    ///<summary>
    ///序号
    ///</summary>
    [SugarTable("system_number")]
    [DB(EnumDatabase.Mysql, Cache = false)]
    public class MainNumberEntity: BaseEntity
    {

        /// <summary>
        /// 区划编号
        /// </summary>
        [SugarColumn(ColumnName = "AreaCode")]
        public System.String AreaCode { get; set; }

        /// <summary>
        /// 单位ID
        /// </summary>
        [SugarColumn(ColumnName = "OrganId")]
        public System.Int64 OrganId { get; set; }

        /// <summary>
        /// 单位名称
        /// </summary>
        [SugarColumn(ColumnName = "OrganName")]
        public System.String OrganName { get; set; }

        /// <summary>
        /// 编号ID
        /// </summary>
        [SugarColumn(ColumnName = "NumberId")]
        public System.Int64 NumberId { get; set; }

        /// <summary>
        /// 编号类型名称
        /// </summary>
        [SugarColumn(ColumnName = "NumberName")]
        public System.String NumberName { get; set; }

        /// <summary>
        /// 编号Code
        /// </summary>
        [SugarColumn(ColumnName = "NumberCode")]
        public System.String NumberCode { get; set; }

        /// <summary>
        /// 自增位数
        /// </summary>
        [SugarColumn(ColumnName = "Inc")]
        public string Inc { get; set; }

        /// <summary>
        /// 日期格式
        /// </summary>
        [SugarColumn(ColumnName = "DateForamt")]
        public System.String DateForamt { get; set; }

        /// <summary>
        /// 编号格式
        /// </summary>
        [SugarColumn(ColumnName = "NumberFormat")]
        public System.String NumberFormat { get; set; }


        /// <summary>
        /// 当前编号
        /// </summary>
        [SugarColumn(ColumnName = "CurrentNumber")]
        public System.String CurrentNumber { get; set; }

        /// <summary>
        /// 备注
        /// </summary>
        [SugarColumn(ColumnName = "Remark")]
        public System.String Remark { get; set; }

    }
}
